package ltd.newbee.mall.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/**
 * 公共请求参数
 */
public class SfCommonRequest {
    @JsonProperty("partnerID")
    private String partnerID;

    @JsonProperty("requestID")
    private String requestID;

    @JsonProperty("serviceCode")
    private String serviceCode;

    @JsonProperty("timestamp")
    private Long timestamp;

    @JsonProperty("msgDigest")
    private String msgDigest;

    @JsonProperty("accessToken")
    private String accessToken;

    @JsonProperty("msgData")
    private String msgData;

    // 构造方法
    public SfCommonRequest() {}

    public SfCommonRequest(String partnerID, String requestID, String serviceCode,
                           Long timestamp, String msgDigest, String accessToken, String msgData) {
        this.partnerID = partnerID;
        this.requestID = requestID;
        this.serviceCode = serviceCode;
        this.timestamp = timestamp;
        this.msgDigest = msgDigest;
        this.accessToken = accessToken;
        this.msgData = msgData;
    }

    // getter和setter方法
    public String getPartnerID() { return partnerID; }
    public void setPartnerID(String partnerID) { this.partnerID = partnerID; }

    public String getRequestID() { return requestID; }
    public void setRequestID(String requestID) { this.requestID = requestID; }

    public String getServiceCode() { return serviceCode; }
    public void setServiceCode(String serviceCode) { this.serviceCode = serviceCode; }

    public Long getTimestamp() { return timestamp; }
    public void setTimestamp(Long timestamp) { this.timestamp = timestamp; }

    public String getMsgDigest() { return msgDigest; }
    public void setMsgDigest(String msgDigest) { this.msgDigest = msgDigest; }

    public String getAccessToken() { return accessToken; }
    public void setAccessToken(String accessToken) { this.accessToken = accessToken; }

    public String getMsgData() { return msgData; }
    public void setMsgData(String msgData) { this.msgData = msgData; }
}








